package org.nimi317.web_gis.form.post;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
 * @author thunderobot
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JobPost {

    @NotBlank
    @Length(max = 255)
    private String bean;

    @NotBlank
    @Length(max = 255)
    private String cron;

    @NotBlank
    @Length(max = 255)
    private String method;

    @NotBlank
    @Length(max = 25)
    private String remark;
}
